0%

shield tv 无法访问互联网的解决办法

这个问题一般有两个原因,也分两种情况,一种是可以上网,一种是无法上网,我们可以利用adb工具进行设置,设置之前请打开网络调试。

可以上网

这种情况下只需要通过如下方法去掉提示即可,原因是wifi检测是否可以访问网络,需要访问国外网址,这个地址国内不通,我们替换成国内网址就行。

1
2
3
4
5
6
7
adb connect xxx.xxx.xxx.xxx
adb shell settings put global captive_portal_detection_enabled 1
adb shell settings put global captive_portal_mode 1
adb shell settings put global captive_portal_use_https 0
adb shell settings put global captive_portal_server connect.rom.miui.com
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204

不能上网

这种情况下,可能是系统时间和网络时间对不上导致的,可以尝试手动调整系统时间,或者通过以下adb命令行设置时间服务器为国内即可。

1
adb shell settings put global ntp_server ntp1.aliyun.com